def decorator(param):
    print(param)

    def my_decorator(func):
        def wrapper(*args, **kwargs):
            print("Before call")
            result = func(*args, **kwargs)
            print("After call")
            return result

        return wrapper

    return my_decorator


@decorator("hello")
def add(a, b):
    return a + b


print(add(1, 3))
